<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<ul>
    <li th:each="p:${list}">
        <span th:text="${p.id}">10</span>:<span th:text="${p.username}">好人</span>：
        <span th:text="${#dates.format(birthday,'yyyy-MM-dd')}"></span>
    </li>
</ul>

</body>
</html>